package edu.mtu.citizenscience.cs.sdk.uploader.json.exception;
/**
 * @author Corbin Uselton <corbinu@cwuselto@mtu.edu>
 * @copyright (c) 2012 MichiganTech <http://www.mtu.edu>
 * @since 1.0
 * 
 * Exception thrown when the table specifies a parent table but no parent id field
 */
public class InvalidRelationship extends Exception {

	private static final long serialVersionUID = 258139739542655295L;

	/**
	 * Creates the exception
	 * 
	 * @param   table - String - the name of the table with no parent id field
	 * @return	void
	 */
	public InvalidRelationship(String table) 
	{
		super("No parent id field on table: " + table);
	}

}